package cn.maidouya.dictionary.mapper;

import cn.maidouya.dictionary.domain.DictionaryDetail;
import cn.maidouya.dictionary.query.DictionaryDetailQuery;

import java.util.List;

public interface DictionaryDetailMapper {
    void add(DictionaryDetail dictionaryDetail);
    void del(Long id);
    void update(DictionaryDetail dictionaryDetail);
    DictionaryDetail finOne(Long id);
    List<DictionaryDetail> finAll();
    Integer totalsCount(DictionaryDetailQuery dictionaryDetailQuery);
    List<DictionaryDetail> findPage(DictionaryDetailQuery dictionaryDetailQuery);
    // 主外键约束删除
    void batchDel(Long typesId);
}